/*
 * Copyright (c) 2007-2008, mSpoke. All Rights Reserved.
 */
package org.bc.iterate;

/**
 * Simple {@code String} {@link org.bc.iterate.Transform} that invokes {@link String#trim()}
 * on {@code String}s passed to it. 
 */
public class TrimTransform implements Transform<String>
{
    public String apply(String item)
    {
        return item.trim();
    }
}
